//
//  mttBackgroundImage.h
//  mtt
//
//  Created by Gerfried Mikusch on 10.08.10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "mttBgImgMenuViewController.h"
#import "mttImageDelegate.h"



@interface mttBackgroundImage : UIImageView <UIGestureRecognizerDelegate, UIPopoverControllerDelegate, BgMenuViewControllerDelegate> {

	UILongPressGestureRecognizer *longPressRecognizer;
	UIPanGestureRecognizer *panRecognizer;
	UIRotationGestureRecognizer *rotationRecognizer;
	UIPinchGestureRecognizer *pinchRecognizer;
	
	UIPopoverController *menuPopover;
	
	NSData  *alphaMask;
    CGFloat alphaMaskWidth;
	
	id<mttImageDelegate> delegate;
	
	
}

-(void)setGestureRecognizersEnabled:(BOOL)enabled;

@property (nonatomic, retain) UILongPressGestureRecognizer *longPressRecognizer;
@property (nonatomic, retain) UIPanGestureRecognizer *panRecognizer;
@property (nonatomic, retain) UIRotationGestureRecognizer *rotationRecognizer;
@property (nonatomic, retain) UIPinchGestureRecognizer *pinchRecognizer;

@property (nonatomic, retain) NSData *alphaMask;
@property CGFloat alphaMaskWidth;

@property (nonatomic, retain) UIPopoverController *menuPopover;

@property (nonatomic, assign) id<mttImageDelegate> delegate;


@end
